home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 03 / 1 / DISK0317.ZIP / PMB15.BAK < prev    next >
Text File  |  1987-01-11  |  4KB  |  106 lines

  1.  
  2.      PMB - Preventive Maintanence, Bill, and Message Program
  3.      -------------------------------------------------------
  4.  
  5.  
  6.      This program provides a way of keeping track of events which
  7. occur  periodically such as bills,  preventive maintanence items,
  8. dentist  appointments,    yearly vet checks for the family  animal,
  9. and  once-only    items such as important meetings planned  far  in
  10. advance.  The program is designed to be operated weekly and, when
  11. requested,  will  print  out the items due in the  following  two
  12. weeks.     To operate,  you must create two files with an editor or
  13. with  BASICA.    The  file structure is ASCII in  a  format  which
  14. almosts resembles a program to BASICA.    This format lets you edit
  15. the  file,  should you ever need to,  using BASICA rather than an
  16. editor.   Therefore, the disk containing your files need not have
  17. both an editor and BASICA.
  18.  
  19.      First, enter BASICA and type the following:
  20.  
  21. 1 '
  22. 2 ,"CARNAME1","CARNAME2","CARNAME3","CARNAME4",NCAR
  23.  
  24.  
  25.      The  first line is a comment line and will be filled by  PMB
  26. each time you save an updated file.
  27.  
  28.      The  second  line contains a set of 1-4 string names of  the
  29. vehicles  that you want to place on a  mileage-based  maintanence
  30. schedule.   NCAR  is  a  single  digit number of  the  number  of
  31. significant  names desired (1,2,3 or 4).   Use two double  qoutes
  32. for empty entries.
  33.  
  34.      Then type SAVE "ITEMDATA.DAT",A  to save the file.  REMEMBER
  35. TO  APPEND THE 'A' OPTION TO SAVE AN ASCII FILE.   Also create  a
  36. backup file:  SAVE "ITEMDATA.BAK",A
  37.  
  38.      For example, use:
  39.  
  40. 1 '
  41. 2 ,"FORD","CHEVY","HONDA","",3
  42.  
  43. SAVE "ITEMDATA.DAT",A
  44. SAVE "ITEMDATA.BAK",A
  45. LOAD "PMB
  46. RUN
  47.  
  48.      At  this  point,    you  can  run  the  program.   It  should
  49. automatically load the data file and list the commands available.
  50.  
  51.      Test the program by inserting, with the I command, the items
  52. below:
  53. Enter Command: ? I
  54.  
  55.  
  56.      The program then prints out the instructions for the command
  57. and:
  58.  
  59. Enter type: ? 1
  60.  
  61. Enter message: v...........................................v
  62.            Time for income tax
  63.  
  64. Enter Month: ? 2
  65. Enter Day: ? 1
  66. Enter last two digits of year: ? 84
  67.  
  68.      The program should then print:
  69.  
  70. Num Type TrigNo Para-1    .........Comment........
  71. === ==== ====== ======    ========================
  72.   1    1   1492      0    2/1/84     = Time for income tax
  73.  
  74.  
  75.      Then save the file with the "S" command.   When you load and
  76. run the program,  it should only display the once-only message if
  77. the date is within one week of the date given, or later.  It will
  78. then  continue    to  display the message each  time  you  run  the
  79. program until you kill (K) the message.
  80.  
  81.      When  you    save the datafile,  (S),  the program will add    a
  82. comment  line in line 1 with the creation date and the items  you
  83. have inserted,    (I).  If you then exit, (E) and load itemdata.dat
  84. and list it, you should get:
  85.  
  86.  
  87. 1 'ITEMDATA.DAT - Data file for PMB as of <what ever the date is>
  88. 2 ,"FORD","CHEVY","HONDA","",3
  89. 3 , 1 , 1492 ,"2/1/84   = Time for income tax", 0 , 0 , 0
  90.  
  91.      The line number is to allow you to use the BASICA editor  if
  92. you want to modify the file.   In line 3,  the next number is the
  93. item type, 1 means one-shot message, no renewal.  The 1492 is the
  94. number    of days after 1 Jan 1980 (Its NOT Julian,  but    then,  so
  95. what?)    The last 3 numbers are parameters, only one is used.  The
  96. remainder are there for growth.
  97.  
  98.      You can try some other examples and change the date with the
  99. D command to test the results.
  100.  
  101.  
  102.                   Roger Coleman
  103.                   2011 Bradway st NE
  104.                   Palm Bay, Fl  32905
  105.  
  106.